home *** CD-ROM | disk | FTP | other *** search
-
-
-
- aaaarrrrccccffff((((3333GGGG)))) aaaarrrrccccffff((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- aaaarrrrccccffff,,,, aaaarrrrccccffffiiii,,,, aaaarrrrccccffffssss - draw a filled circular arc
-
- CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- vvvvooooiiiidddd aaaarrrrccccffff((((xxxx,,,, yyyy,,,, rrrraaaaddddiiiiuuuussss,,,, ssssttttaaaarrrrttttaaaannnngggg,,,, eeeennnnddddaaaannnngggg))))
- CCCCoooooooorrrrdddd xxxx,,,, yyyy,,,, rrrraaaaddddiiiiuuuussss;;;;
- AAAAnnnngggglllleeee ssssttttaaaarrrrttttaaaannnngggg,,,, eeeennnnddddaaaannnngggg;;;;
-
- vvvvooooiiiidddd aaaarrrrccccffffiiii((((xxxx,,,, yyyy,,,, rrrraaaaddddiiiiuuuussss,,,, ssssttttaaaarrrrttttaaaannnngggg,,,, eeeennnnddddaaaannnngggg))))
- IIIIccccoooooooorrrrdddd xxxx,,,, yyyy,,,, rrrraaaaddddiiiiuuuussss;;;;
- AAAAnnnngggglllleeee ssssttttaaaarrrrttttaaaannnngggg,,,, eeeennnnddddaaaannnngggg;;;;
-
- vvvvooooiiiidddd aaaarrrrccccffffssss((((xxxx,,,, yyyy,,,, rrrraaaaddddiiiiuuuussss,,,, ssssttttaaaarrrrttttaaaannnngggg,,,, eeeennnnddddaaaannnngggg))))
- SSSSccccoooooooorrrrdddd xxxx,,,, yyyy,,,, rrrraaaaddddiiiiuuuussss;;;;
- AAAAnnnngggglllleeee ssssttttaaaarrrrttttaaaannnngggg,,,, eeeennnnddddaaaannnngggg;;;;
-
- All of the routines named above are functionally the same. They differ
- only in the type assignments of their parameters.
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _x expects the _x coordinate of the center of the filled arc. The
- center of the filled arc is the center of the circle that
- would contain the arc.
-
- _y expects the _y coordinate of the center of the filled arc. The
- center of the filled arc is the center of the circle that
- would contain the arc.
-
- _r_a_d_i_u_s expects the length of the radius of the filled arc. The
- radius of the filled arc is the radius of the circle that
- would contain the filled arc.
-
- _s_t_a_r_t_a_n_g expects the measure (in tenths of a degree) of the start angle
- of the filled arc. The start angle of the filled arc is
- measured relative to the positive x-axis.
-
- _e_n_d_a_n_g expects the measure (in tenths of a degree) of the end angle
- of the filled arc. The end angle of the filled arc is
- measured relative to the positive x-axis.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- aaaarrrrccccffff draws a filled circular arc in the _x-_y plane (_z = _0). The filled
- area is bound by the arc and by the start and end radii. To draw an arc
- in a plane other than the _x-_y plane, define the arc in the _x-_y plane and
- then rotate or translate the arc.
-
- An arc is drawn as a single polygon, and therefore inherits all
- properties that affect the drawing of polygons. These include the
- current color, writemask, fill pattern, shade model, polygon antialiasing
- mode, polygon scan conversion mode, and subpixel mode. Front-face and
- back-face elimination work correctly with filled arcs, which are front-
- facing when viewed from the positive z half-space. Some polygon modes
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- aaaarrrrccccffff((((3333GGGG)))) aaaarrrrccccffff((((3333GGGG))))
-
-
-
- are applicable only if old-style scan conversion is defeated. (See note
- below.)
-
- A filled arc is defined in terms of the circle that contains it. All
- references to the radius and the center of the filled arc refer to the
- radius and center of the circle that contains the filled arc. The angle
- swept out by the filled arc is the angle from the start angle counter-
- clockwise to the end angle.
-
- The start and end angles are defined relative to the positive x-axis. (To
- speak more precisely, because the arc might not be centered on the
- origin, the start and end angles are defined relative to the right
- horizontal radius of the circle containing the arc.) Positive values for
- an angle indicate a counter-clockwise rotation from the horizontal.
- Negative values indicate a clockwise rotation from the horizontal.
-
- The basic unit of angle measure is a tenth of a degree. The value 900
- indicates an angle of 90 degrees in a counter-clockwise direction from
- the horizontal. Thus, a filled arc that spans from a start angle of 10
- degrees (_s_t_a_r_t_a_n_g = _1_0_0) to an end angle of 5 degrees (_e_n_d_a_n_g = _5_0) is
- almost a complete filled circle.
-
- After aaaarrrrccccffff executes, the graphics position is undefined.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- arc, backface, bgnpolygon, circf, frontface, glcompat, polymode,
- polysmooth, scrsubdivide, setpattern, shademodel, subpixel
-
- NNNNOOOOTTTTEEEE
- By default aaaarrrrccccffff draws a polygon using the old-style scan conversion
- algorithm, rather than the point sampling algorithm used by bbbbggggnnnnppppoooollllyyyyggggoooonnnn
- and eeeennnnddddppppoooollllyyyyggggoooonnnn. Point sampling is prefered over old-style scan
- conversion because it has higher performance, it results in higher-
- quality images when blending, logical operations, or stenciling are used,
- and it supports new rendering features such as texture mapping, fog, and
- antialiasing. Call ggggllllccccoooommmmppppaaaatttt((((GGGGLLLLCCCC____OOOOLLLLDDDDPPPPOOOOLLLLYYYYGGGGOOOONNNN,,,,0000)))) to enable point sampling
- of polygons generated by aaaarrrrccccffff.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-